﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ProcessCount.aspx.cs" Inherits="Thksoft.BusinessExpansion.Business.ProcessCount" %>

<!DOCTYPE html>
<html class="L_UI">
<head id="Head1" runat="server">
    <title>流程统计</title>
    <script src="/Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <link href="/CSS/Main.css" rel="stylesheet" type="text/css" />
    <link href="/UserCotrols/My97DatePicker/skin/WdatePicker.css" rel="stylesheet" type="text/css" />
    <script src="/UserCotrols/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <style type="text/css">
        .text_inputs {
            border: 1px solid #6099c9;
            width: 120px;
            line-height: 18px;
        }

        .txt {
            border: 1px solid #6099c9;
            width: 180px;
            height: 23px;
            line-height: 23px;
        }
    </style>
</head>
<body>
    <script type="text/javascript">
        function PrintReport() {

            var arg = document.getElementById("<%=this.printargs.ClientID %>").value;
            var args = arg.split('&');
            alert(args);
            var result = window.showModalDialog("PrintReports.aspx?cid=" + args[0] + "&state=" + args[1] + "&processId=" + args[2], "", "dialogHeight:768px; dialogWidth:1024px;");
        }

        function Load() {
            document.getElementById("main_show").style.height = (document.documentElement.clientHeight - 10) + "px";
        }

        function printPage() {
            var result = window.showModalDialog("../../BusinessExpansion/Print/PublicPrint.aspx", "", "dialogHeight:768px; dialogWidth:1024px;");
            Load();
        }
    </script>
    <form id="form1" runat="server">
        <asp:HiddenField ID="hidCompanyId" runat="server" />
        <asp:HiddenField ID="printargs" runat="server" />
        <div class="Window" style="min-width: 900px;">
            <div class="Header" style="height: 69px;">
                <table border="0" cellpadding="0" cellspacing="0" width="100%" class="table">
                    <tr>
                        <td style="text-align: right; width: 10%;">公司名称:
                        </td>
                        <td style="text-align: left; width: 20%; min-width: 250px;">
                            <uc2:CtrlCompany runat="server" ID="FORM_COMPANY_ID" Width="170px" />
                        </td>
                        <td style="text-align: right; width: 10%;">申请时间:
                        </td>
                        <td style="text-align: left;">
                            <input id="txt_time_begin" type="text" runat="server" style="width: 90px; height: 18px;"
                                class="Wdate" onclick="WdatePicker()" />
                            -
                        <input id="txt_time_end" runat="server" style="width: 90px; height: 18px;"
                            type="text" class="Wdate" onclick="WdatePicker()" />
                        </td>
                    </tr>
                    <tr>
                        <td align="center" colspan="4">
                            <asp:Button ID="btnQuery" runat="server" Text="查询" CssClass="bt_css_s" OnClick="btnSearch_Click" />
                            &nbsp;<asp:Button ID="btnDaoChu" runat="server" Text="导出" CssClass="bt_css_s" OnClick="btnDaoChu_Click" />
                            &nbsp;<asp:Button ID="BtnPrint" runat="server" CssClass="bt_css_s" Text="打印" OnClick="BtnPrint_Click" />
                        </td>
                    </tr>
                </table>
            </div>
            <div class="Content" style="top: 70px;">
                <div class="Pg-Content">
                    <asp:Panel ID="pnl" runat="server">
                        <table style="display: none">
                            <tr>
                                <td align="center" style="font-family: 仿宋_GB2312; font-weight: bold; text-align: center; vertical-align: middle; font-size: 23px; height: 30px; border: 1px solid #AAD2F6; background-color: #e2f2fb;">
                                    <label id="Label3" runat="server">
                                        流&nbsp;程&nbsp;统&nbsp;计</label>
                                </td>
                            </tr>
                            <tr>
                                <td align="right">
                                    <asp:Label ID="lblTJ" runat="server"></asp:Label>
                                </td>
                            </tr>
                        </table>
                        <table id="Table1" border="0" cellpadding="0" cellspacing="0" class="table" style="width: 100%;"
                            runat="server">
                            <tr>
                                <td style="padding: 0;">
                                    <asp:GridView ID="grvGoodsShows" CssClass="cont_list zebra" runat="server" AutoGenerateColumns="False"
                                        Width="100%" PageSize="10" OnPageIndexChanging="grvGoodsShows_PageIndexChanging"
                                        OnRowCommand="grvGoodsShows_RowCommand" AllowSorting="True" OnSorting="grvGoodsShows_Sorting">
                                        <EmptyDataTemplate>
                                            没有你所查询的数据
                                        </EmptyDataTemplate>
                                        <Columns>
                                            <asp:BoundField HeaderText="序号" DataField="R" HeaderStyle-Font-Bold="true">
                                                <HeaderStyle Font-Bold="True" />
                                            </asp:BoundField>
                                            <asp:BoundField HeaderText="公司名称" DataField="cinames" SortExpression="cinames" HeaderStyle-Font-Bold="true">
                                                <HeaderStyle Font-Bold="True" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="names" HeaderText="流程名称" SortExpression="names" HeaderStyle-Font-Bold="true">
                                                <HeaderStyle Font-Bold="True" />
                                            </asp:BoundField>
                                            <asp:BoundField HeaderText="注销" DataField="zhuxiao" SortExpression="zhuxiao" HeaderStyle-Font-Bold="true">
                                                <HeaderStyle Font-Bold="True" />
                                            </asp:BoundField>
                                            <asp:BoundField HeaderText="正在办理" DataField="zhengzaibanli" SortExpression="zhengzaibanli"
                                                HeaderStyle-Font-Bold="true">
                                                <HeaderStyle Font-Bold="True" />
                                            </asp:BoundField>
                                            <asp:BoundField HeaderText="归档" DataField="guidang" SortExpression="guidang" HeaderStyle-Font-Bold="true">
                                                <HeaderStyle Font-Bold="True" />
                                            </asp:BoundField>
                                        </Columns>
                                    </asp:GridView>
                                </td>
                            </tr>
                        </table>
                    </asp:Panel>
                </div>
                <div class="Pg">
                    <uc1:Pagination ID="PageIng" runat="server" IsDataBindOnLoad="false" OnDataBinding="PageIng_DataBinding" />
                </div>
            </div>
        </div>
    </form>
</body>
</html>